import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'userType'
})
export class UserTypePipe implements PipeTransform {

  transform(value: boolean): string {
    return value ? '本地员工' : '外地员工';
  }

}
